using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
    [Serializable]
    public class License : FlickrObject
    {
        public License():base(){}
        public License(FlickrConnection connection) : base(connection){}
        
        [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)]
        public int LicenseId;

        [XmlAttribute("name", Form=XmlSchemaForm.Unqualified)]
        public string LicenseName;

        [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)]
        public string LicenseUrl;
    }
}